package com.weilx959.spt.plugin.e2sp.model.statement;

import com.weilx959.spt.plugin.e2sp.constant.SQLType;
import lombok.*;

@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
public class ErrorStatement implements Statement {
    private String sql;

    private Throwable cause;

    @Override
    public String getSchema() {
        return null;
    }

    @Override
    public String getTableName() {
        return null;
    }

    @Override
    public SQLType getType() {
        return SQLType.ERROR;
    }
}
